export const columns = [
  {
    title: '事件类型',
    dataIndex: 'eventType',
    width: 80,
  },
  {
    title: '事件名称',
    dataIndex: 'eventName',
    width: 80,
  },
  {
    title: '事件来源',
    dataIndex: 'latestEventSource',
    width: 80,
  },
  {
    title: '事件数量',
    dataIndex: 'eventCount',
    width: 80,
  },
  {
    title: '最近发生时间',
    dataIndex: 'latestOccurTimeStr',
    width: 80,
  },
  {
    title: '操作',
    dataIndex: 'action',
    width: 80,
  },
];

export const detailColumns = [
  {
    title: '事件类型',
    dataIndex: 'eventType',
    width: 100,
  },
  {
    title: '事件名称',
    dataIndex: 'eventName',
    width: 100,
  },
  {
    title: '监控对象/ID',
    dataIndex: 'resourceId',
    width: 500,
  },
  {
    title: '事件级别',
    dataIndex: 'eventLevel',
    width: 100,
  },
  {
    title: '事件状态',
    dataIndex: 'eventState',
    width: 100,
  },
  {
    title: '操作用户',
    dataIndex: 'eventUser',
    width: 100,
  },
  {
    title: '事件来源',
    dataIndex: 'eventSource',
    width: 100,
  },
  {
    title: '发生时间',
    dataIndex: 'timeStr',
    width: 500,
  },
  {
    title: '事件内容',
    dataIndex: 'content',
    width: 500,
  },
];
